home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / parasite-x.swf / scripts / frame_43 / PlaceObject2_133_67 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2011-10-17  |  414b  |  20 lines

  1. onClipEvent(enterFrame){
  2.    _root.swapDepths(1e+22);
  3.    this._x = _root.camra._x;
  4.    this._y = _root.camra._y + 199;
  5.    if(_root.delay >= 30 - _root.firerate)
  6.    {
  7.       this.play();
  8.    }
  9.    if(_root.gamepaused == 1)
  10.    {
  11.       this._x = _root.camra._x - 1367;
  12.       this._y = _root.camra._y + 1310;
  13.    }
  14.    else
  15.    {
  16.       this._x = _root.camra._x;
  17.       this._y = _root.camra._y + 199;
  18.    }
  19. }
  20.